Skip to content

uvm: omit default WCIFS FilterType for older GCS compatibility#2739

Merged
rawahars merged 1 commit into
mainfrom
harshrawat/fix_2714
May 16, 2026
Merged

uvm: omit default WCIFS FilterType for older GCS compatibility#2739
rawahars merged 1 commit into
mainfrom
harshrawat/fix_2714

Conversation

@rawahars
Copy link
Copy Markdown
Contributor

CombinedLayers.FilterType was added in HCS schema 2.9. Inbox GCS on older Windows hosts (e.g. WS2022) uses a strict JSON unmarshaller that rejects the unknown field with HCS_E_INVALID_JSON. Since WCIFS is the GCS default when the field is absent, clear it so omitempty drops it from the wire format.

closes: #2714

CombinedLayers.FilterType was added in HCS schema 2.9. Inbox GCS on
older Windows hosts (e.g. WS2022) uses a strict JSON unmarshaller that
rejects the unknown field with HCS_E_INVALID_JSON. Since WCIFS is the
GCS default when the field is absent, clear it so `omitempty` drops it
from the wire format.

Refs: #2714
Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
@rawahars rawahars requested a review from a team as a code owner May 15, 2026 17:28
@rawahars rawahars merged commit f040705 into main May 16, 2026
33 checks passed
@rawahars rawahars deleted the harshrawat/fix_2714 branch May 16, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the virtual machine or container JSON document is invalid

3 participants